package com.sanwu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author hgh
 * @date 2025/3/11
 * @apiNote
 */

@Data
@TableName(value = "business")
public class Business {

    @TableId(type = IdType.INPUT)
    private String id;

    @ApiModelProperty("执照类型（0：执照年报；1：执照注销）")
    private Integer licenseType;

    @ApiModelProperty("主体名称")
    private String bodyName;

    @ApiModelProperty("信用代码")
    private String creditCode;

    @ApiModelProperty("法人名称")
    private String legalPersonName;

    @ApiModelProperty("身份证号")
    private String identityNumber;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("年营业额")
    private String annualTurnover;

    @ApiModelProperty("纳税额")
    private String taxAmount;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("完成状态（0：未完成；1：完成）")
    private Integer completeStatus;

    @ApiModelProperty("是否删除（0：未删除；1：删除完成）")
    private Integer isDelete;

    @ApiModelProperty("支付状态（0：未支付；1：支付完成）")
    private Integer payStatus;

    @ApiModelProperty("创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",locale = "zh",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("最新操作时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",locale = "zh",timezone = "GMT+8")
    private Date updateTime;
}
